package com.itheima.demo;

public class Demo2Array {

    /*
        问题：二维数组中存储的是一维数组，那能不能存入【提前创建好的一维数组】呢？
        */
    public static void main(String[] args) {
        int[] arr1 = {11, 22, 33};
        int[] arr2 = {44, 55, 66};
        int[] arr3 = {77, 88, 99};

        int[][] arr = new int[3][3];

        arr[0] = arr1;
        arr[1] = arr2;
        arr[2] = arr3;

        System.out.println(arr[1][2]);
    }
}


